<!DOCTYPE html>
<html style="background-color:#fff;">
<head>
  <meta charset="utf-8">
    <title>IOT节点管理</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  #parse('/headFiles.html')
</head>
<body>
 <div class="layui-card layui-form" style="padding: 20px 15px 0 0;">
    <input type="hidden" name="id" value="$!{id}"/>
     <div class="layui-row">
         <div class="layui-col-sm6">
             <div class="layui-form-item">
                 <label class="layui-form-label">节点名称</label>
                 <div class="layui-form-mid layui-word-aux">$!{name}</div>
             </div>
         </div>
         <div class="layui-col-sm6">
             <div class="layui-form-item">
                 <label class="layui-form-label">节点类型</label>
                 <div class="layui-form-mid layui-word-aux">$!{iotTypeName}</div>
             </div>
         </div>
     </div>
     <div class="layui-row">
         <div class="layui-col-sm6">
             <div class="layui-form-item">
                 <label class="layui-form-label">协议类型</label>
                 <div class="layui-form-mid layui-word-aux">$!{protocolType}</div>
             </div>
         </div>
         <div class="layui-col-sm6">
             <div class="layui-form-item">
                 <label class="layui-form-label">产品KEY</label>
                 <div class="layui-form-mid layui-word-aux">$!{productKey}</div>
             </div>
         </div>
     </div>
     <div class="layui-row">
         <div class="layui-col-sm6">
             <div class="layui-form-item">
                 <label class="layui-form-label">接口域名</label>
                 <div class="layui-form-mid layui-word-aux">$!{apiUrl}</div>
             </div>
         </div>
         <div class="layui-col-sm6">
             <div class="layui-form-item">
                 <label class="layui-form-label">接口Token</label>
                 <div class="layui-form-mid layui-word-aux">$!{apiToken}</div>
             </div>
         </div>
     </div>
     #if($iotType == 2)
     <div class="layui-row">
         <div class="layui-col-sm6">
            <div class="layui-form-item">
              <label class="layui-form-label">IP</label>
              <div class="layui-form-mid layui-word-aux">$!{ip}</div>
            </div>
         </div>
         <div class="layui-col-sm6">
            <div class="layui-form-item">
              <label class="layui-form-label">端口号</label>
              <div class="layui-form-mid layui-word-aux">$!{port}</div>
            </div>
         </div>
     </div>
     <div class="layui-row">
         <div class="layui-col-sm6">
            <div class="layui-form-item">
              <label class="layui-form-label">账号</label>
              <div class="layui-form-mid layui-word-aux">$!{userName}</div>
            </div>
         </div>
         <div class="layui-col-sm6">
            <div class="layui-form-item">
              <label class="layui-form-label">密码</label>
              <div class="layui-form-mid layui-word-aux">$!{userPwd}</div>
            </div>
         </div>
     </div>
     #end
     </div>
  </div>
#parse('/footFiles.html')
<script type="text/javascript">
layui.config({
  base: '$!{webRoot}/layuiadmin/'
}).extend({
  index: 'lib/index'
}).use(['index', 'form'], function(){
  var $ = layui.$,form = layui.form;
});
</script>
</body>
</html>